<?php $name = isset($_GET['name']) ? $_GET['name'] : 'noname';?><html>
<head><title>haXe Chat Client</title>

<script type="text/javascript" src="jsclient.js"></script>
<script type="text/javascript" src="mootools.js"></script>

<script type="text/javascript" src="itmchat.js"></script>
</head>
<body bgcolor="#dddddd" onload=" //JsMain.foo(12, 22);">

<div style="background-color: yellow; width: 200px;"> 
<b>chat window</b>
<ul id="chatlist" style="background-color: orange; padding: 3px; margin: 4px;">
</ul>
	<input type="text" id="itmchat_input" onkeydown="ITMChat_onEnter(event, this);" style="display: none;" />
<a href="#" id="chat-join" onclick="ITMChat_join(); return false;">join</a>
<a href="#" id="chat-leave" style="display: none" onclick="ITMChat_leave(); return false;">leave</a>
</div>







<div id="haxe:trace"></div>

<object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
    width="500"
    height="500"
    id="ITMChatObject"
>
 
<param name="movie" value="client.swf?username=toni"/>
<param name="allowScriptAccess" value="always" />
<param name="quality" value="high" />
<param name="salign" value="lt" />
<param name="scale" value="noscale" />
<param name="menu" value="false" />
<param name="bgcolor" value="#ffffff"/>
<embed
	src="client.swf?username=toni"
	quality="high"
	salign="lt"
	width="500"
	height="500"
	align="middle"
	scale="noscale"
	menu="false"
	bgcolor="#ffffff"
	name="ITMChatObject"
	swLiveConnect="true"
	allowScriptAccess="always"
	type="application/x-shockwave-flash"
	pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>

</body>
</html>